package org.example.cloudapply.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Application {
    private Integer applyId;
    private Integer userId;
    private CloudType cloudType;
    private ApplicationStatus status;
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  applyTime;
    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime handleTime;
    private String accountInfo;
    private String rejectReason;

    private Integer templateId;
    private Boolean gpuEnabled;
    private String name;
    private UserRole role;
    private String schoolId;
    private String email;
    private String phone;
    private Integer durationDays;
    private LocalDateTime expireTime;

}